package cn.wen.yinxiu.works.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @ClassName: WorksTopicRelationEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-22 09:39:56
 * @Description: 作品 & 话题关联表的实体类
 */
@Data
@TableName("works_topic_relation")
public class WorksTopicRelationEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 作品Id
	 */
	@TableId(value = "worksId", type = IdType.AUTO)
	private Long worksId;
	/**
	 * 话题Id
	 */
	private Long topicId;

}
